package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.pojo.CheckItem;

import java.util.List;

/**
 * @Program: review2-health
 * @InterfaceName: CheckItemService
 * @Description:
 * @Author: KyleSun
 **/
public interface CheckItemService {

    public List<CheckItem> findAll();

    public CheckItem findOne(Integer id);

    public CheckItem add(CheckItem checkItem);

    public void delete(Integer id);

    public CheckItem update(Integer id, CheckItem checkItem);

    PageResult<CheckItem> search(CheckItem checkItem, Integer page, Integer size);

}
